package com.hsgene.sample.domain;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.util.Date;

public class GeneticTestingAgencySample {
    private String id;
    /**
     * 样本编码
     */
    private String sampleNo;
    /***
     * 样本名称
     */
    private String name;
    /**
     * 数据值
     */
    private String value;
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createDateTime;
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date upateDateTime;

    private Integer deleteFlag;

    private String remarks;
    /**
     * 是否在套餐中使用过（0未使用，1使用）
     */
    private Integer amount;

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSampleNo() {
        return sampleNo;
    }

    public void setSampleNo(String sampleNo) {
        this.sampleNo = sampleNo == null ? null : sampleNo.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value == null ? null : value.trim();
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public Date getUpateDateTime() {
        return upateDateTime;
    }

    public void setUpateDateTime(Date upateDateTime) {
        this.upateDateTime = upateDateTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
}